package com.drugstore.drugstore.domain;

import java.util.Date;


/**
 * 对象 salesreport
 * 
 * @author 
 * @date 2025-05-08
 */
public class Salesreport 
{

    /** $column.columnComment */
    private Long id;

    /** 门店ID */
    private Long storeId;

    /** 报表生成日期（按日/周/月） */
    private Date reportDate;

    /** 总销售额（单位分） */
    private Long totalSales;

    /** 总利润（单位分） */
    private Long totalProfit;

    /** 总销售数量 */
    private Long totalItems;


    public Salesreport() {
    }

    public Salesreport(Long id, Long storeId, Date reportDate, Long totalSales, Long totalProfit, Long totalItems) {
        this.id = id;
        this.storeId = storeId;
        this.reportDate = reportDate;
        this.totalSales = totalSales;
        this.totalProfit = totalProfit;
        this.totalItems = totalItems;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return storeId
     */
    public Long getStoreId() {
        return storeId;
    }

    /**
     * 设置
     * @param storeId
     */
    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /**
     * 获取
     * @return reportDate
     */
    public Date getReportDate() {
        return reportDate;
    }

    /**
     * 设置
     * @param reportDate
     */
    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }

    /**
     * 获取
     * @return totalSales
     */
    public Long getTotalSales() {
        return totalSales;
    }

    /**
     * 设置
     * @param totalSales
     */
    public void setTotalSales(Long totalSales) {
        this.totalSales = totalSales;
    }

    /**
     * 获取
     * @return totalProfit
     */
    public Long getTotalProfit() {
        return totalProfit;
    }

    /**
     * 设置
     * @param totalProfit
     */
    public void setTotalProfit(Long totalProfit) {
        this.totalProfit = totalProfit;
    }

    /**
     * 获取
     * @return totalItems
     */
    public Long getTotalItems() {
        return totalItems;
    }

    /**
     * 设置
     * @param totalItems
     */
    public void setTotalItems(Long totalItems) {
        this.totalItems = totalItems;
    }

    public String toString() {
        return "Salesreport{id = " + id + ", storeId = " + storeId + ", reportDate = " + reportDate + ", totalSales = " + totalSales + ", totalProfit = " + totalProfit + ", totalItems = " + totalItems + "}";
    }
}
